runtime.mstats.numgc (field)
12 uses
runtime (current package)
metrics.go#L645: a.gcCyclesDone = uint64(memstats.numgc)
mgc.go#L1023: memstats.pause_ns[memstats.numgc%uint32(len(memstats.pause_ns))] = uint64(work.pauseNS)
mgc.go#L1024: memstats.pause_end[memstats.numgc%uint32(len(memstats.pause_end))] = uint64(unixNow)
mgc.go#L1060: memstats.numgc++
mgc.go#L1138: print("gc ", memstats.numgc,
mgclimit.go#L282: l.lastEnabledCycle.Store(memstats.numgc + 1)
mgclimit.go#L334: l.lastEnabledCycle.Store(memstats.numgc + 1)
mstats.go#L39: numgc uint32
mstats.go#L544: stats.NumGC = memstats.numgc
mstats.go#L577: n := memstats.numgc
mstats.go#L588: j := (memstats.numgc - 1 - i) % uint32(len(memstats.pause_ns))
mstats.go#L594: p[n+n+1] = uint64(memstats.numgc)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |